<template>
  <div class="app-container">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="WEPOKER" name="1">
        <Demo/>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
// import WePoker from "./WePoker";
import Demo from "../demo/index.vue";
export default {
  components: {
    // WePoker,
    Demo,
  },
  data() {
    return {
      activeName: "1",
    };
  },
  methods:{
    handleClick(e){
        this.activeName = e.name
    }
  }
};
</script>